<?php
use think\facade\Route;

Route::group('v1', function () {
    Route::post('/login', 'Admin/login');

    Route::group('', function () {
        Route::get('/userinfo', 'Admin/userInfo');
    })->middleware(app\middleware\Auth::class);
})->middleware(app\middleware\Cross::class);
